using UnityEngine;
using System.Collections;

public class Grab : MonoBehaviour 
{
	int m_FrameCreated;
	int lifeTime;
	
	// Use this for initialization
	void Start () 
	{
		m_FrameCreated=Time.frameCount;
	}
	
	// Update is called once per frame
	void Update () 
	{
		if(Time.frameCount> lifeTime+m_FrameCreated)
		{
			Destroy(gameObject);	
		}
	}
	
	void FixedUpdate()
	{
		
	}
	
	void OnTriggerEnter(Collider collider)
	{


	}
}
